why aren't interfaces [Serializable]?

Posted by Zac Harlan on Stack Overflow See other posts from Stack Overflow or by Zac Harlan
Published on 2010-04-14T16:59:03Z Indexed on 2010/04/14 17:03 UTC
Read the original article Hit count: 355

Filed under:
|
|
|

I would think that adding that attribute to an interface would be helpful make sure you don't create classes that use the interface and forget to make them serializable.

This could be a very fundamental question but wanted to ask the experts.

Thanks in advance.

Zac

© Stack Overflow or respective owner

Related posts about c#

Related posts about ASP.NET